package ooday01;

import javax.swing.plaf.SliderUI;

//重载的演示
public class Aoo {
    public static void main(String[] args) {
        Aoo o = new Aoo();
        o.show();//编译器根据方法的签名自动绑定方法
        o.show("zhangsan");
        o.show(45, "lisi");
        o.show(44);
        o.show("zhangsan", 77);

    }

    private void show() {}
            void show(String name){}
            void show(int age){}
            void show(String name,int age){}
            void show(int age,String name){}
}
